package com.example.assetmanagement.domain;

import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class Maintenance {
    private Long id;
    private Long assetId;
    private String description;
    private LocalDate maintDate;
    private BigDecimal cost;
    private Long performedBy;
    private Integer status; // 0 未完成 1 已完成
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
    private String type;     // 维护类型
    private Integer priority;// 优先级
    private LocalDate startDate; // 开始日期
    private LocalDate endDate;   // 完成日期
} 